package com.spring.security.validate.code;

/**
 * @ClassName 图片验证码
 * @Description ImageCode
 * @Author 朱秒
 * @Date 2020/2/23 21:30
 * @Version 1.0
 */

import java.awt.image.BufferedImage;

public class ImageCode extends ValidateCode{

    private static final long serialVersionUID = -6020470039852318468L;

    private BufferedImage image;

    public ImageCode(BufferedImage image, String code, int expireTime) {
        super(code, expireTime);
        this.image = image;
    }

    public BufferedImage getImage() {
        return image;
    }

    public void setImage(BufferedImage image) {
        this.image = image;
    }

}
